<?php
/**
 * @author Jumper Swordwave
 * date: 2021/04/19
 */
declare(strict_types=1);
namespace App\Game\Core;

class GameStatus
{
    const ROOM_WAITING = 1;  //等待玩家加入
    const ROOM_GAMEOVER = 2; //游戏结束
    const ROOM_READY = 3;    //等待开始
    const ROOM_PLAYING = 4;   //游戏进行中
    const ROOM_CALL = 5;    //等待玩家叫地主

    const USER_WAITING = 1; //玩家在等待队列中
    const USER_READY = 2;   //玩家等待游戏开始
    const USER_PLAYING = 3; //玩家在游戏中
    const USER_GAMEOVER = 4;    //玩家一局结束,等待下一局开始
    const USER_WIN = 5;     //玩家获胜,等待下一局开始
    const USER_DISCONNECTED = 9;    //玩家断线
}